package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 行政划分
 * @Author Nuanyang
 * @Data 2023/5/27 15:16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_region")
@EqualsAndHashCode(callSuper = false)
public class SysRegion {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long code;

    private String name;

    private Long parentId;

    private String levelId;
}
